import 'package:flutter/material.dart';
import 'index.dart';

void main() {
  runApp(const App());
}

class App extends StatelessWidget {
  const App({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
        fontFamily: 'AlimamaShuHeiTi',
      ),
      home: Scaffold(
        appBar: AppBar(
          backgroundColor: ColorScheme.fromSeed(seedColor: Colors.deepPurple).inversePrimary,
          title: const Text("官方UI一览"),
        ),
        body: const PageIndex(),
      )
    );
  }
}
